package com.night.xjh.service;

import com.github.pagehelper.PageInfo;
import com.night.common.entity.xjh.Header;

/**
 * @ClassName: HeaderService
 * @Description: //TODO
 * @author: xjh
 * @date: 2022/10/21-16:44
 * @version: v1.0
 */
public interface HeaderService {
    void add(Header header);
    void delete(int id);
    void update(Header header);
    PageInfo<Header> getAll(int pageNum,int pageSize);
    Header getById(int id);
    PageInfo<Header> getByCondition(Header header,int pageNum,int pageSize);
}
